package com.lwz.chain.handlers;

import com.lwz.chain.Handler;

public class ProjectHandler extends Handler {
	
	public ProjectHandler(){
		
	}

	public ProjectHandler(Handler nextHandler) {
		super(nextHandler);
	}

	@Override
	public void requestSuccessor(String username, int money) {
		if(money<300){
			System.out.println("项目经理处理");
		}else{
			nextHandler.requestSuccessor(username,money);
		}
		
	}

	

}
